<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title></title>
	<link rel="stylesheet" href="">
</head>
<body>
<script src='http://cdn.jsdelivr.net/vue/1.0.26/vue.js'></script>
<script src='https://cdn.jsdelivr.net/vue.router/0.7.10/vue-router.min.js'></script>
<div id="root">
	<div v-for="val in test_arr" track-by='$index' v-if = "val" @click='tick'>{{val}}</div>
</div>
<script>
	var vm = new Vue({
		el : '#root',
		data : {
			test_arr : [,1,2,3,,4]
		},
		methods : {
			tick : function(){
				setTimeout(function(){
					this.test_arr = [];
				},1000)
			}
		}
	})
</script>	
</body>
</html>